package gamagora.game.world.maps.game
{
	import gamagora.game.world.maps.OSMap;
	import gamagora.game.entity.*;

	public class OSMap28 extends OSMap
	{
		public function OSMap28()
		{
			super();

			var ground:OSGround = new OSGround(40, 1060, 820, 20, 0, false);
			ground.setNoErosionUp([3, 11, 16, 24, 29, 37]);
			ground.setNoErosionDown([0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40]);
			ground.setNoErosionLeft([0]);
			ground.erode();
			addBackground(ground);

			ground = new OSGround(100, 930, 20, 150, 0, false);
			ground.setNoErosionDown([0]);
			ground.erode();
			addBackground(ground);

			ground = new OSGround(260, 930, 20, 150, 0, false);
			ground.setNoErosionDown([0]);
			ground.erode();
			addBackground(ground);

			ground = new OSGround(360, 930, 20, 150, 0, false);
			ground.setNoErosionDown([0]);
			ground.erode();
			addBackground(ground);

			ground = new OSGround(520, 930, 20, 150, 0, false);
			ground.setNoErosionDown([0]);
			ground.erode();
			addBackground(ground);

			ground = new OSGround(620, 930, 20, 150, 0, false);
			ground.setNoErosionDown([0]);
			ground.erode();
			addBackground(ground);

			ground = new OSGround(780, 930, 20, 150, 0, false);
			ground.setNoErosionDown([0]);
			ground.erode();
			addBackground(ground);

			ground = new OSGround(860, 740, 100, 340, 0, false);
			ground.setNoErosionDown([80, 81, 82, 83, 84]);
			ground.setNoErosionLeft([80]);
			ground.setNoErosionRight([4, 9, 14, 19, 24, 29, 34, 39, 44, 49, 54, 59, 64, 69, 74, 79, 84]);
			ground.erode();
			addBackground(ground);

			ground = new OSGround(0, 480, 40, 600, 0, false);
			ground.setNoErosionDown([58, 59]);
			ground.setNoErosionLeft([0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58]);
			ground.erode();
			add(ground);

			ground = new OSGround(90, 920, 200, 20, 0, true);
			ground.setBorders(true, true);
			add(ground);

			ground = new OSGround(350, 920, 200, 20, 0, true);
			ground.setBorders(true, true);
			add(ground);

			ground = new OSGround(610, 920, 200, 20, 0, true);
			ground.setBorders(true, true);
			add(ground);

		}
	}
}
